package top.glike.ssl.auto.service;

import top.glike.ssl.auto.domain.other.AutoSslDomain;
import top.glike.ssl.auto.domain.other.CertInfo;

public interface IAutoSslConfService {

    void testCert();

    void createCert(String domain);

    void syncCloudCertToLocal(String domainName);

    CertInfo getCloudCertInfo(AutoSslDomain sslDomain);

    /**
     * 推送cert证书文件到指定服务器
     * @param id 域名表id
     * @return
     */
    int pushCertToServer(Long id);

}
